{include file="Public:header" /}

		<div class="bar bar-nav">
			<h1 class="title">活动消息</h1>
			<i class="icon icon-left" onclick="window.history.go(-1);"></i>
		</div>
		<div class="content xiaoxi">
		   {foreach name="data" item="data" key="k"}
			<div class="card">
				<a href="{:U('Users/make_discuss_page',array('id'=>$data['id'],'status'=>$data['status']))}" class="card-header" style="font-size: 0.65rem;">你的评论已经通过审核 {if condition="$data['status'] eq 1"}[未读]{else/}[已读]{/if}<span style="color: #999;float:right;">{$data['add_time']|date="Y-m-d",###} <i class="icon icon-right"></i></span></a>
				<!-- <div class="card-content" style="display: none;">
					<div class="card-content-inner" style="color: #999;">
						{$data['content']|htmlspecialchars_decode}
					</div>
					<a herf="{:U('')}" class="button button-fill">查看</a>
					<br/>
				</div> -->
			</div>
			{/foreach}
			
			{if condition="$discuss_show eq ''"}
				<p id="load_more"> 暂无数据！</p>
			{/if}
			
		</div>
		
{include file="Public:footer" /}
		<script>
			jQuery(document).ready(function(){
				$(".xiaoxi .card-header").on("click",function(){
					$(this).parent(".card").toggleClass("active");
					$(this).siblings().slideToggle();
				})
			})
		</script>
